﻿<%@ Page Title="Company Profile" Language="C#" MasterPageFile="~/GuestView.master"
    AutoEventWireup="true" CodeBehind="cCompanyProfile.aspx.cs" Inherits="BestBuy.PageGuest.cCompanyProfile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <asp:Panel ID="Panel1" runat="server">
        <div class="left-side-bar bs-docs-sidebar">
            <ul class="nav nav-list bs-docs-sidenav">
                <li class="active" style="text-align: center;"><a href="#">Menu Quick</a></li>
                <li>
                    <asp:HyperLink ID="hlProduct" runat="server">
                        <i class="icon-chevron-right"></i>Product Catalog(<asp:Label runat="server" ID="lbCountProduct"></asp:Label>)</asp:HyperLink></li>
                <li>
                    <asp:HyperLink ID="hlSell" runat="server">
                        <i class="icon-chevron-right"></i>Sell Offers(<asp:Label runat="server" ID="lbCountSell"></asp:Label>)</asp:HyperLink></li>
                <li>
                    <asp:HyperLink ID="hlBuy" runat="server">
                        <i class="icon-chevron-right"></i>Buy Offers(<asp:Label runat="server" ID="lbCountBuy"></asp:Label>)</asp:HyperLink></li>
            </ul>
        </div>
    </asp:Panel>
    <div class="main-content">
        <div id="linkQuick" runat="server">
            <a href="../Default.aspx">Home </a>> <a href="cListCategory.aspx">Companies </a>
            >
        </div>
        <br />
        <table width="100%">
            <tr>
                <td style="width: 200px; text-align: center; vertical-align: top; padding: 0px 10px 0px 0px;">
                    <asp:Image ID="image" CssClass="img_product" runat="server" Width="200px" Height="200px" />
                    <br />
                    <asp:LinkButton ID="lnkPopup" Style="cursor: pointer; font-size: 12px;" runat="server"
                        CausesValidation="false" OnClick="lnkPopup_Click">View Image Full</asp:LinkButton>
                </td>
                <td>
                    <table width="100%">
                        <tr>
                            <td colspan="2">
                                <h3>
                                    <asp:Label ID="lbName" runat="server"></asp:Label>
                                </h3>
                                <hr />
                            </td>
                        </tr>
                        <tr>
                            <td class="td_ProductDetail_right">
                                Country :
                            </td>
                            <td class="td_ProductDetail_left">
                                <asp:Image ID="imgCountry" runat="server" Style="vertical-align:top;" Height="16" Width="20"/>
                                <asp:Label ID="lbCountry" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_ProductDetail_right">
                                Year Establish :
                            </td>
                            <td class="td_ProductDetail_left">
                                <asp:Label ID="lbYear" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_ProductDetail_right">
                            </td>
                            <td class="td_ProductDetail_left">
                                <asp:Button ID="btnContact" runat="server" CssClass="style_button" Text="Contact Now"
                                    OnClick="btnContact_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <br />
                    <h4 style="color: rgb(0,0,128)">
                        Product Showcase</h4>
                    <hr class="tag_hr" />
                    <asp:DataList ID="dlLatestProducts" runat="server" RepeatColumns="5">
                        <ItemTemplate>
                            <div class="productItem">
                                <div>
                                    <a target="_blank" href='ProductDetail.aspx?pid=<%#Eval("IDSanPham") %>'>
                                        <img id="Img1" runat="server" class="img_product" src='<%# CheckHinhAnh(Eval("HinhAnh")) %>'
                                            height="130" width="150" /></a>
                                </div>
                                <div class="magin_tensanpham">
                                    <span><a target="_blank" href='ProductDetail.aspx?pid=<%#Eval("IDSanPham") %>'>
                                        <%# Eval("TenSanPham") %></a> </span>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <br />
                    <h4 style="color: rgb(0,0,128)">
                        Basic Information</h4>
                    <hr class="tag_hr" />
                    <div class="contact-info">
                        <ul>
                            <li><span>Business Type:</span><div>
                                <asp:Label ID="lbBusiness" runat="server"></asp:Label></div>
                            </li>
                            <li class="bg2"><span>Main Markets:</span><div>
                                <asp:Label ID="lbMainMarkets" runat="server"></asp:Label></div>
                            </li>
                            <li><span>Company Products / Services:</span><div>
                                <asp:Label ID="lbProducts" runat="server"></asp:Label></div>
                            </li>
                            <li class="bg2"><span>Year Established:</span><div>
                                <asp:Label ID="lbYearEstablished" runat="server"></asp:Label></div>
                            </li>
                            <li><span>Number of Employees:</span><div>
                                <asp:Label ID="lbNumberEmployees" runat="server"></asp:Label></div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <br />
                    <h4 style="color: rgb(0,0,128)">
                        Factory Information</h4>
                    <hr class="tag_hr" />
                    <div class="contact-info">
                        <ul>
                            <li><span>Factory Location:</span><div>
                                <asp:Label ID="lbLocation" runat="server"></asp:Label></div>
                            </li>
                            <li class="bg2"><span>Factory Size:</span><div>
                                <asp:Label ID="lbFactorySize" runat="server"></asp:Label></div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <br />
                    <h4 style="color: rgb(0,0,128)">
                        Other Information</h4>
                    <hr class="tag_hr" />
                    <div class="contact-info">
                        <ul>
                            <li><span>Legal Representative / CEO:</span><div>
                                <asp:Label ID="lbRepresentative" runat="server"></asp:Label></div>
                            </li>
                            <li class="bg2"><span>Industry:</span><div>
                                <asp:Label ID="lbIndustry" runat="server"></asp:Label></div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
        <asp:Button ID="btnHidden" runat="Server" Style="display: none" />
        <ajaxToolkit:ModalPopupExtender ID="mpeSanPham" runat="server" TargetControlID="btnHidden"
            PopupControlID="panEdit" BackgroundCssClass="md_background" CancelControlID="hlCancel">
        </ajaxToolkit:ModalPopupExtender>
        <asp:Panel ID="panEdit" runat="server" Height="450px" Width="500px" CssClass="InLeft md_window">
            <div style="text-align: center; margin: 30px 0px 0px 0px;">
                <asp:Image ID="imgFull" CssClass="img_product" runat="server" Width="400px" Height="400px" />
            </div>
            <asp:HyperLink ID="hlCancel" runat="server" CssClass="hlCancel" ToolTip="Close">X</asp:HyperLink>
        </asp:Panel>
    </div>
</asp:Content>
